Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes dependency to git-rev #14

Merged
merged 1 commit into from Jul 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,10 +1,10 @@
var rev = require('git-rev');
var sha = 'unknown revision';
var version = require('../../package.json').version;
var exec = require('child_process').exec

rev.long(function(longSha) {
sha = longSha || 'unknown revision';
});
exec('git rev-parse HEAD', { cwd: __dirname }, function (err, stdout, stderr) {
sha = stdout.split('\n').join('') || 'unknown revision'
})

/**
* The defaults used for the construction of new clients.
@@ -101,4 +101,4 @@ var ClientDefaults = {
}
};

module.exports = ClientDefaults;
module.exports = ClientDefaults;
@@ -6,7 +6,7 @@
"utility",
"postmark"
],
"version": "1.3.1",
"version": "1.3.2",
"author": "Chris Williams <voodootikigod@gmail.com>",
"contributors": [
"Aaron Blum",
@@ -63,7 +63,6 @@
"pre-commit": "1.0.2"
},
"dependencies": {
"git-rev": "0.2.1",
"merge": "1.2.0"
}
}
@@ -6,9 +6,9 @@
"WRITE_ACCOUNT_TOKEN" : "<token>",
"WRITE_TEST_SERVER_TOKEN" : "<token>",
"WRITE_TEST_SENDER_EMAIL_ADDRESS" : "apps@example.com",
"WRITE_TEST_SENDER_SIGNATURE_PROTOTYPE": "anything+[TOKEN]@exmaple.com",
"WRITE_TEST_SENDER_SIGNATURE_PROTOTYPE": "anything+[TOKEN]@example.com",
"WRITE_TEST_EMAIL_RECIPIENT_ADDRESS" : "andrew+testing@example.com",
"WRITE_TEST_DOMAIN_NAME" : "domain-verification.pstmrk.it",

"BASE_URL" : "https://api.postmarkapp.com"
}
}